<extend name="_layout/main"/>
<block name="head">

</block>
<block name="top">
    <header class="mui-bar mui-bar1 mui-bar-nav mui-bar-nav1" id="header">
        <a class="btn" href="{:U('Member/index')}">
            <i class="iconfont icon-fanhui"></i>
        </a>
        <div class="top-sch-box top-sch-boxtwo top-sch-boxthree flex-col">
            返回
        </div>
    </header>
</block>
<block name="content">
    <div class="warp warpthree clearfloat">
        <div class="account clearfloat">
            <div class="top clearfloat">
                <ul>
                    <li class="box-s">操作时间</li>
                    <li>进出账</li>
                    <li>金额（元）</li>
                </ul>
            </div>
            <volist name="account" id="item">
                <div class="list clearfloat box-s">
                    <div class="shang clearfloat">
                        <ul>
                            <li class="box-s">{$item.created_at|date='Y-m-d',###}</li>
                            <li>{$item['source'] == 1?'收入':'支出'}</li>
                            <li><eq name="item.source" value="1">+<else/>-</eq>{$item.amount}</li>
                        </ul>
                    </div>

                    <div class="middle clearfloat">
                    <ul>
                    <li>{$item.remark}</li>
                    </ul>
                    </div>
                    <div class="bottom clearfloat">
                        <span class="fl"></span>
                        <p class="fr">余额：{$item.balance}</p>
                    </div>
                </div>
            </volist>
            <div class="show-page">
                {$page}
            </div>
        </div>
    </div>
</block>